<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%> 
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">    
    <title>添加图书信息</title>        
 </head>
 <body>
 	<form action="<%=path%>/BookInformationServlet" method="post">
 		<table align="center" border="1" width="350">
 			<tr>
 				<td align="center" colspan="2">
 					<h2>添加图书信息</h2>
 				</td>
 			</tr>
 			<tr>
 				<td align="right">图书编号：</td>
 				<td><input type="text" name="id"></td>
 			</tr>
 			<tr>
 				<td align="right">图书名称：</td>
 				<td><input type="text" name="name"></td>
 			</tr>
 			<tr>
 				<td align="right">作者：</td>
 				<td><input type="text" name="author"></td>
 			</tr>
 			<tr>
 				<td align="right">价格：</td>
 				<td><input type="text" name="price"></td>
 			</tr>
 			<tr>
 				<td class="2" align="center" colspan="2">
 					<input type="submit" vlaue="添加">
 				</td>
 			</tr>
 		</table>
 	</form>
 </body>
</html>